

package com.hexinfo.dmpro.sparing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.sparing.dto.BackupLibraryDTO;
import com.hexinfo.dmpro.sparing.dto.TotalDTO;
import com.hexinfo.dmpro.sparing.model.SyncCompleteLibraryTask;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 热备全库日志任务表
 *
 * @author yemw
 * @date 2023-11-30 11:06:35
 */
public interface SyncCompleteLibraryTaskService extends IService<SyncCompleteLibraryTask> {
    public Page queryList(Page page, SyncCompleteLibraryTask syncCompleteLibraryTask);

    TotalDTO hotBackupLibraryTotal(BackupLibraryDTO backupLibraryDTO);

    TotalDTO hotBackupLibraryTableTotal(BackupLibraryDTO backupLibraryDTO);

    Date maxCreateTime(String dbName);

    List<SyncCompleteLibraryTask> dbHotBackupState();

}
